<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<!--
 Header XSLT file for mobile main menu
 Copyright MONKeLABS 2011

 File History

 Version		Date Modified		Author		Description of changes
 =====================================================================
 1.00			11/04/2011			Rob Davis	File Creation
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
		<table cellpadding="0" cellspacing="0" style="text-align:center; width:100%">
            <xsl:for-each select="menu/item">
                <tr>
                    <td>   	
						<xsl:choose>
                        	<xsl:when test="type = 'abs'">
                            	<a href="{link}" target="_blank"><xsl:value-of select="title"></xsl:value-of></a>
                            </xsl:when>
                            <xsl:otherwise>
                            	<a href="http://monkelabs.com/content/{link}.php"><xsl:value-of select="title"></xsl:value-of></a>
                            </xsl:otherwise>
                        </xsl:choose>
                    </td>
                    <tr>
                    	<td>
                        	<br/>
                        </td>
                    </tr>
                </tr>
            </xsl:for-each>
        </table>
</xsl:template>
</xsl:stylesheet>